

var saveBtn = null;
var backBtn = null;


$(function(){

	saveBtn = $("#save");
	backBtn = $("#back");



	saveBtn.bind("click",function(){

		if (confirm("是否确认保存数据")) {
			$("#attendeeForm").submit();
		}


	});


	backBtn.on("click",function(){
		if(referer != undefined
			&& null != referer
			&& "" != referer
			&& "null" != referer
			&& referer.length > 4){
		 window.location.href = referer;
		}else{
			history.back(-1);
		}
	});
});